module.exports = {
    404: function(request, response)
    {
      response.setHeader('X-Powered-By', 'JsRoute');
      response.statusCode = 404;
      response.write('404 - Not Found');
      response.end();
    },

    200: function(request, response)
    {
      response.setHeader('X-Powered-By', 'JsRoute');
      response.statusCode = 200;
      response.write('200 - Ok');
      response.end();
    },

    500: function(request, response, error)
    {
      response.setHeader('X-Powered-By', 'JsRoute');
      response.statusCode = 500;
      response.write('error' + error);
      response.end();
    },
    
    406: function(request, response)
    {
      response.setHeader('X-Powered-By', 'JsRoute');
      response.statusCode = 406;
      response.write('406 Not Acceptable');
      response.end();
    }
};
